package com.zlf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName EurekaProducer01Application
 * @Description TODO
 * @Author zlf
 * @Date 2021/5/7 16:09
 */
@SpringBootApplication
@RestController
public class EurekaProducer02Application {

    public static void main(String[] args) {
        SpringApplication.run(EurekaProducer02Application.class, args);
    }

    @GetMapping("/foo")
    public String test() {
        return "调用了 EurekaProducer02 的方法";
    }

}
